<?php
class emailComponent extends Object {
    var $components = array('Email');
    var $User;
	//called before Controller::beforeFilter()
	function initialize(&$controller, $settings = array()) {
		// saving the controller reference for later use
		$this->controller =& $controller;
        $this->User = ClassRegistry::init('User');
	}

	//called after Controller::beforeFilter()
	function startup(&$controller) {
	   
	}
    
    function sendEmail($type,$data)
    {
        
    }  
    
}
?>